package com.saasovation.identityaccess.application.representation;

import com.saasovation.identityaccess.domain.model.identity.Group;

public class GroupRepresentation {
    private String description;
    private String name;
    private String tenantId;

    public GroupRepresentation(Group group) {
        this.setName(group.name());
        this.setTenantId(group.tenantId().id());
        this.setDescription(group.description());
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    protected GroupRepresentation() {
        super();
    }
}
